package com.moon.spring.config;

import com.moon.spring.service.UserService;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName: SpringConfig
 * @Description: TODD
 * @Author: 郭正洋
 * @Date: 2022/10/10 15:05
 * @Vsersion: 1.0.0
 **/
@Configurable
@ComponentScan("com.moon.spring.service")
public class SpringConfig {

	@Bean
	public UserService userService(){
		return new UserService();
	}
}
